package com.realjinge.dao;

import java.util.List;

import com.realjinge.annotation.MyBatisDao;
import com.realjinge.entity.Type;

@MyBatisDao
public interface TypeDao {

	/**
	 * 
	 * @param user
	 * @return
	 */
	public Integer insertType(Type type);

	/**
	 * 
	 * @param id
	 * @return
	 */
	public Type selectTypeByID(Integer id);
	
	/**
	 * 
	 * @param typeCode
	 * @return
	 */
	public Type selectTypeByTypeCode(String typeCode);
	
	/**
	 * 
	 * @return
	 */
	public List<Type> selectTypeList();

}
